<template>
<div class="test-con">
  <component :is="currentView"></component>
  <button @click="personChange">切换人员</button>
</div>
</template>
<script setup lang="ts">
var res = {
  "collection": "",
  "data": {
    "deptName": "技术支持部",
    "dataSourceId": "erp001",
    "userAccount": "admin",
    "loginMsg": "",
    "deptId": 2,
    "accessToken": "ZWQyMFl5ZVowWCtqWFdrV0dmSndhaHRNTjhkWmxDSGNHaHZpY212dlpUNkFIOTVsWDNWZzV2bTBJajlkRGR3MGFxVWRudUNnZW95cA0KWGMxbUliek1mdmVuMkhYTjgwMHhjeldVL1o2d2hXVHpiN0drM3h5cll0YzRVckhwcm94a0VoSmhqZUhUNHErTlpTYVRmRUZpUEROeg0KWHIyS2ZLRkRaUE1kYmQ3QTUrejVHQzF3UHAxK3RKLzNGY0lPSFpFdERRNlBkdVUvai9Nc2RvK2oxQjJPR3JpZ2hBR2tiVEVsbWQ5MQ0KR0FGdDI3cXZlcEpkc3RkbWNFRDRsT1ZZdGViTnhoQ3hMNlV5MVlEeFNmTWVKbjNKdWc9PQ.OUU2QjVEM0E0NzVBMTA1NTYzNUY1N0ZFNjUzQ0ZCNjQ",
    "dataSourceId": "erp001",
    "deptId": 2,
    "deptName": "技术支持部",
    "loginMsg": "",
    "loginStatus": 200,
    "supplierCode": 1000,
    "userAccount": "admin",
    "userId": 3,
    "userName": "系统管理员"
},
  "httpCode": 200,
  "msg": "",
  "pages": 0,
  "timestamp": "2023-09-30 10:30:17.640",
  "total": 0
}
</script>
<style scoped>
.test-con{
  padding: 200px;
}
</style>
